<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.nwpu.vote.model.*" %>
<%@ page import="com.nwpu.vote.control.*" %>
<%@ page import="java.util.List" %>

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link type="text/css" rel="stylesheet" href="css/main.css">
    <link type="text/css" rel="stylesheet" href="css/themes/cupertino/jquery-ui.css" />
	<script type="text/javascript" src="scripts/jquery.js"></script>
	<script type="text/javascript" src="scripts/jquery-ui.js"></script>
    <script>
		$(document).ready(function(){
			$("#newuser").button();
		});
    </script>
	<title>新建用户</title>    
  </head>
  <body>
  	<div class="header">
  		<div class="logo"></div>
  	</div>
	
	<div style="clear:both"> </div>
	<div class="leader">
		<div class="menu">
			<a href="index.jsp">主页</a>
			<a href="newVote.jsp">新建投票</a>
			<a href="listHistory.jsp">历次投票</a>
			<a href="search.jsp">查找</a>
			<a href="help/howto.html" target="_blank">使用说明</a>
			<a href="help/about.html" target="_blank">关于</a>
		</div>
	</div>
	<div style="margin:30px">
    <form method="post" action="newvote" enctype="multipart/form-data">
	    <table>
	    	<tbody>
	    	
	    		<tr><td><strong><label style="color:red;">*</label>用户名（可以是英文，数字，中划线，下划线，不支持中文汉字）</strong></td></tr>
	    		<tr><td><input name="name" type="text" size=60></td></tr>
	    		
	    		<tr><td><strong>部门</strong></td></tr>
	    		<tr><td><input name="department" type="text" size=60></td></tr>
	    		
	    		<tr><td><strong><label style="color:red;">*</label>邮箱</strong></td></tr>
	    		<tr><td><input id="mail" name="mail" type="text" size=60></td></tr>
	    		
	    		<tr><td><strong>固定电话</strong></td></tr>
	    		<tr><td><input id="phone" name="phone" type="text" size=60></td></tr>
	    		
	    		<tr><td><strong>手机</strong></td></tr>
	    		<tr><td><input id="mobile" name="mobile" type="text" size=60></td></tr>
	    		
	    		<tr><td><strong>个人其他信息</strong></td></tr>
	    		<tr><td><textarea name="description" rows="5" cols="50"></textarea></td></tr>
	    		
	    	</tbody>
	    </table>
	   	<input id="newuser" type="submit" value="新建">
    </form>
    </div>
  </body>
</html>
